.shopcart {
    background-color: #f5f5f5;
    padding: 130px 0 90px;

    .head {

        background-color: #fff;
        position: fixed;
        top: 0;
        width: 100%;
        // background-color: green;
        z-index: 999;
        // border-bottom: 1px solid #ccc;

        // 头部分类
        .header {
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: right;
            padding: 15px 10px 0;
            margin-bottom: 10px;

            span {
                font-size: 18px;
                margin-right: 120px;
            }
        }

        .img {
            height: 50px;
            display: flex;
            padding: 10px;
            justify-content: space-around;
            border-bottom: 1px solid #f5f5f5;


            img {
                width: 50px;
                border-radius: 50%;
                border: 1px solid #ccc;
            }

            span {
                font-size: 16px;
                line-height: 50px;
                margin-right: 120px;
            }

            button {
                height: 30px;
                margin-top: 10px;
                border-radius: 40px;
                border: 1px solid orange;
                color: orangered;
            }
        }
    }

    .main {
        display: flex;
        margin: 10px;
        padding: 0 10px;
        background-color: #fff;

        img {
            width: 100px;
            margin-right: 20px;
        }
        p{
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }

        .nums {
            width: 60px;
            display: flex;
            line-height: 20px;
            text-align: center;
            position: position;
            right: 20px;
            margin-top:60px;
            // z-index: 999;

            .sub {
                width: 20px;
                height: 20px;
                background-color: #ccc;
            }

            .num {
                width: 20px;
                height: 20px;
                background-color: #fff;
            }

            .add {
                width: 20px;
                height: 20px;
                background-color: #f5f5f5;
            }
        }
    }


    .foot {
        display: flex;
        justify-content: space-around;
        background-color: #fff;
        height: 40px;
        text-align: center;
        line-height: 40px;
        font-size: 16px;
        position: fixed;
        width: 100%;
        bottom: 50px;

        .zongjia {
            color: orangered;
        }

        .jiesuan {
            width: 100px;
            height: 40px;
            background-color: red;
            border-radius: 30px;
        }
    }

    .imgshop {
        width: 100%;
    }
}